package model
{
	[Bindable]
	public class Person
	{
		private var _name:String;
		private var _email:String;
		private var _gender:String;
		private var _username:String;
		private var _password:String;
		private var _registrationDate:String;
		private var _birthDate:String;
		
		public function Person(name:String, email:String, gender:String, username:String, pasword:String, registrationDate:String, birthDate:String=null)
		{
			_name = name;
			_email = email;
			_gender = gender;
			_username = username;
			_password = pasword;
			_registrationDate = registrationDate;
			_birthDate = birthDate;
		}
		
		public function set username(username:String):void
		{
			_username = username;
		}
		public function get username():String
		{
			return _username;
		}
		public function set password(password:String):void
		{
			_password = password;
		}
		public function get password():String
		{
			return _password;
		}
		
		public function set birthdate(birthdate:String):void
		{
			_birthDate = birthdate;
		}
		public function get birthdate():String
		{
			return _birthDate;
		}
	}
}